package com.zfjt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zfjt.dao.OrderNumBeanMapper;
import com.zfjt.entity.OrderNumBean;
import com.zfjt.service.OrderNumService;

@Service
public class OrderNumServiceIpml implements OrderNumService{
	
	@Autowired
	private OrderNumBeanMapper mOrderNum;
	
	@Override
	public Integer deleteByPrimaryKey(String id) {
		return mOrderNum.deleteByPrimaryKey(id);
	}

	@Override
	public Integer insert(OrderNumBean record) {
		return mOrderNum.insert(record);
	}

	@Override
	public Integer insertSelective(OrderNumBean record) {
		return mOrderNum.insertSelective(record);
	}

	@Override
	public OrderNumBean selectByPrimaryKey(String id) {
		return mOrderNum.selectByPrimaryKey(id);
	}

	@Override
	public Integer updateByPrimaryKeySelective(OrderNumBean record) {
		return mOrderNum.updateByPrimaryKeySelective(record);
	}

	@Override
	public Integer updateByPrimaryKey(OrderNumBean record) {
		return mOrderNum.updateByPrimaryKey(record);
	}

	@Override
	public List<OrderNumBean> selectAll() {
		return mOrderNum.selectAll();
	}
	
}
